﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02.建造者模式.Entities
{
    public class Meal : BaseEntity
    {
        public Meal() { }
        public Meal(string mealName)
            : this()
        {
            this.MealProducts = new HashSet<MealProduct>();

            this.MealName = mealName;
        }

        public string MealName { get; private set; }
        public virtual ICollection<MealProduct> MealProducts { get; private set; }
    }
}
